package cn.echo.ecc.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class RefreshDto {

    @NotEmpty(message = "参数不能为空！")
    private String refreshToken;

    @NotNull(message = "参数不能为空!")
    private Integer type;
}
